/* 
 * File:   labelled_text_edit.hpp
 * Author: jolo
 *
 * Created on 13. Oktober 2011, 16:53
 */

#ifndef LABELLED_TEXT_EDIT_HPP
#define	LABELLED_TEXT_EDIT_HPP

#include "text_edit.hpp"

namespace widgets
{
    class field_label;
    class widget_panel;
    
    class labelled_text_edit : public text_edit
    {
        Q_OBJECT
    public:
        labelled_text_edit(widget_panel* p, const QString& lbl);
        virtual ~labelled_text_edit();
        
        field_label* label() const { return lbl_; }
        
    private:
        field_label* lbl_;
    };
}

#endif	/* LABELLED_TEXT_EDIT_HPP */

